package com.ymatou.iapi.productmanager.service;

import java.util.Map;

import org.json.JSONObject;

import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.MapUtil;
import com.ymttest.utils.compare.CallAPI;

public class GetProductCategoryListCall extends YmatouAutoTestCall implements CallAPI{
	protected static String opurl ="api/SellerProduct/GetProductCategoryList";
	
	public GetProductCategoryListCall() {
		super(EnvSetup.getSystemUrl("productmanager"),opurl,"POST","JSON");
	}

	@Override
	public JSONObject callAndReturn(Map<String, Object> paramMap) {
		return this.callAndGetReturnData(paramMap);
	}

	@Override
	public String getApiName() {
		return "GetProductCategoryList";
	}
	public static void main(String args[]){
		new GetProductCategoryListCall().callAndReturn(MapUtil.hashMap("parentId",-1));
	}

}
